import './assets/main.css'
import "normalize.css"

import { createApp } from 'vue'
import App from './App.vue'

import CmTable from "@/components/CmTable.vue"

// 1.初始化Vue实例
const app = createApp(App)
// 2.引入配置好的路由各种实例化对象
import router from './router'
import store from './store'
// 引入 配置好的i18n
import i18n from './i18n'

// 引入mock配置
import "./mock"

// 注册element plus的所有图标
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
for (const name in ElementPlusIconsVue) {
  app.component(name, ElementPlusIconsVue[name]);
}
app.component(CmTable.name,CmTable);
// 3.挂载各种实例化对象
app.use(router)
app.use(store)
app.use(i18n)

app.mount('#app')
